package com.jichangxiu.server.platform.service;

import com.jichangxiu.common.entity.bo.PageData;
import com.jichangxiu.framework.mybatis.BaseService;
import com.jichangxiu.framework.service.LogService;
import com.jichangxiu.server.platform.entity.dto.PlatformLogQueryDto;
import com.jichangxiu.server.platform.entity.po.PlatformLog;
import com.jichangxiu.server.platform.entity.vo.PlatformLogQueryVo;

import javax.validation.constraints.NotBlank;

/**
 * PlatformLogService:
 *
 * @author Jcx
 * @create 2023-03-08 21:12
 */
public interface PlatformLogService extends BaseService<PlatformLog>, LogService {

    /**
     * 分页日志列表
     *
     * @param platformLogQueryVo 日志对象
     * @return 分页日志列表
     */
    public PageData<PlatformLogQueryDto> pageList(PlatformLogQueryVo platformLogQueryVo);

    /**
     * 根据ID获取日志详情
     *
     * @param logId 日志ID
     * @return 日志详情
     */
    public PlatformLogQueryDto info(@NotBlank(message = "日志ID不能为空") String logId);

}
